package permutation;

public class testperm {

	public static void main(String[] args) {
		
		stringbasedonindex t = new stringbasedonindex();
		
		String orgarray[] = { "a", "b", "c" };
		permutation p = new permutation(orgarray);

		
		int index_array[] = t.createIndexArray(orgarray);
		
		p.permute(index_array);
		
//		t.method(orgarray, index_array);

		// factorial(5);

	}

}
